package cn.sun.pet.service;

import cn.sun.basic.service.IBaseService;
import cn.sun.basic.util.AjaxResult;
import cn.sun.basic.util.PageBean;
import cn.sun.pet.domain.Pet;
import cn.sun.pet.domain.PetDetail;
import cn.sun.pet.query.PetQuery;

import java.util.List;

public interface IPetService extends IBaseService<Pet,PetQuery> {

        PetDetail getDetailByPetId(Long petId);

        void onsaleOrOffsale(List<Long> ids, int i);

        void adopt(Long id, Long loginInfoId);

        Pet getPetDetailByPetId(Long petId);

}
